package com.itheima.wemedia.mapper;

import com.itheima.wemedia.dto.WmNewsPageReqDto;
import com.itheima.wemedia.pojo.WmNews;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.wemedia.vo.WmNewsVo;

import java.util.List;

/**
 * @description <p>自媒体图文内容信息 Mapper 接口</p>
 *
 * @version 1.0
 * @package com.itheima.wemedia.mapper
 */
public interface WmNewsMapper extends BaseMapper<WmNews> {

    /**
     * 自媒体文章同步查询
     * @param dto
     */
    List<WmNewsVo> select4ArticleSync(WmNewsPageReqDto dto);
}
